home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-16 | 1.3 KB | 30 lines | [TEXT/GEOL] |
- Item 8638909 14-Oct-89 01:08
-
- From: D4071 Aapps, Russ Wetmore,PRT
-
- To: ROSENSTEIN1 Rosenstein, Larry
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: Re: Changing MacApp Source
-
- Larry -
-
- Interesting - I didn’t realize that Lib would let you replace individual
- methods. I could see that as a solution _if_ you can get by with wholesale
- replacement of existing methods. Adding new methods is the issue.
-
- Your comments about delegation of responsibility are well-taken. The point I
- was trying to make was that there are usually alternatives to modifying the
- MacApp source. The only change I needed to make to implement my little kludge
- was to alter the way mousedowns are passed to subviews - an override of
- TWindow.HandleMouseDown was all that was required (if memory serves - I don’t
- have the sources in front of me.) The held views were responsible for little
- more than drawing themselves, with the view holder implementing most of the
- common behavior. Physically, the view holder object didn’t need to have been
- derived from TView - the end result was that the view holder was a conceptual
- extension to TView derived objects. Regardless of how it was actually
- implemented. :-)
- [ Russ ]
-
-